<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>


<head>
	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>模块管理</title>

	<style type="text/css">
		div#moduleRMenu {
			position:absolute; 
			visibility:hidden; 
			top:0; 
			background-color: #FFFFFF;
			text-align: left;
			border: 1px solid #A6A6A6;
		}
		div#moduleRMenu ul li{
			padding: 0 5px;
			cursor: pointer;
			list-style: none outside none;
		}
		div#moduleRMenu ul li:hover{
			background-color: #0080C0;
			color: #FFFFFF;
		}
	</style>
	<link href="<s:url value="/"/>resources/css/module.css" rel="stylesheet" />
	
	<script src="<s:url value="/"/>resources/js/module.js"></script>
</head>
<body>
	<div class="container-fluid moduleView">
		<div class="row-fluid full-height">
			<div class="span2 full-height right-border">
				<!--Sidebar content-->
				<div class="right">
					<ul id="moduleTree" class="ztree"></ul>
				</div>
				<div id="moduleRMenu">
					<ul class="dropdown-menu">
						<li id="addRootModule" onclick="addRootModule();"><i class="icon-plus"></i>新增顶级模块</li>
						<li id="addModule" onclick="addModule();"><i class="icon-plus-sign"></i>新增模块</li>
						<li id="delModule" onclick="delModule();"><i class="icon-trash"></i>删除模块</li>
					</ul>
				</div>
			</div>
			<div id="moduleBody" class="span10 full-height">
				<!--Body content-->
				<jsp:include page="moduleForm.jsp"></jsp:include>
			</div>
		</div>
	</div>
</body>
</html>
